<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <div id="app">
        <div v-html="msg"></div>
    </div>

    <script src="./vue.js"></script>

    <script>
        const app = new Vue({
            el: '#app',
            data: {
                msg: `<h1>
                    Hello World
                    </h1>
                    `
            }
        })

    // 指令: 带有 v-前缀 的特殊标签属性
    </script>

</body>

</html>